home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>2</cardCount>
- <cardID>3458</cardID>
- <listID>3170</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>on openStack
- go to card FrontCard
- hide message box
-
- ----- From Apple HomeStack Puzzle ------------------------------------
- put bachSound() into theWinTune
- put (number of words in theWinTune div 2) into halfWords
- put number of words in theWinTune into totWords
- put word 1 to halfWords of theWinTune into tune1
- put word (halfWords + 1) to totWords of theWinTune into tune2
- put false into exitLoop
- play "Harpsichord" tempo 126 tune1
- repeat until ((the sound is done) and exitLoop)
- if ((the sound is done) and not exitLoop) then
- play "Harpsichord" tempo 126 tune2
- put true into exitLoop
- end if
- if the mouseClick then
- play stop
- exit repeat
- end if
- end repeat
- end openStack
-
- on clearScreen
- choose select tool
- doMenu select all
- doMenu clear picture
- end clearScreen
-
- function maxLine what
- put 0 into result
- repeat with i = 1 to the number of lines in what
- put max(line i of what,result) into result
- end repeat
- return result
- end maxLine
-
- on closeStack
- sort stack by bg field Total
- end closeStack
-
- ----- from Apple HomeStack Puzzle -----------------------------------
- function bachSound
- put "f4e a4e f4e c5e f4e" & space into bach
- put "f5e e5s d5s c5s d5s c5s bb4s a4s bb4s a4s g4s" & space after bach
- put "f4e a4e c5e a4e f5e c5" & space after bach
- put "a5s c6s bb5s c6s a5s c6s bb5s c6s a5s c6s bb5s c6s" & space after bach
- put "f5s a5s g5s a5s f5s a5s g5s a5s f5s a5s g5s a5s" & space after bach
- put "d5s f5s e5s f5s d5s f5s e5s f5s d5s f5s e5s f5s" & space after bach
- put "b4e g4e d5e b4e f5e d5e" & space after bach
- put "g5s a5s g5s f5s e5s f5s e5s d5s c5s d5s c5s bb4s" & space after bach
- put "a4e d5s c5s b4s c5s b4s a4s g4s a4s g4s f4s" & space after bach
- put "e4s fs es ds ce c5s b4s c5e e4e" & space after bach
- put "f4e c5e e4e c5e d4e b4e c5q" after bach
- return bach
- end bachSound
-
- </script>
- <background id="3791" file="background_3791.xml" name="AgePlotBg" />
- <background id="19562" file="background_19562.xml" name="PieBg" />
- <card id="3458" file="card_3458.xml" marked="true" name="AgePlot" owner="3791" />
- <card id="19435" file="card_19435.xml" marked="true" name="PieGraph" owner="19562" />
- </stack>
-